// 弹框的底部设置
.dialog-footer {
  display: flex;
  justify-content: space-between; /* 使内容分布在两端 */
  align-items: center; /* 垂直居中 */
  width: 100%;
  /* 左侧按钮对齐 */
  .defultButton {
    margin-right: auto; /* 自动将按钮推到左侧 */
    color: #409eff;
    cursor: pointer;
  }
}

.button-group {
  /* 右侧按钮的布局 */
  display: flex;
  gap: 10px; /* 按钮之间的间距，可以根据需要调整 */
}

// 弹框的样式
.sortChartDialog {
  .content {
    display: flex;
    flex-direction: row;
    padding: 24px 24px 16px 24px;
    gap: 16px;
    max-height: 500px;
    .left,
    .right {
      border: 1px solid #ebeef5;
      .header {
        height: 45px;
        width: 100%;
        line-height: 45px;
        padding-left: 20px;
        background: #fafafa;
        border-bottom: 1px solid #ebeef5;
      }
    }
    .left {
      flex: 1;
      display: flex;
      flex-direction: column;

      .abilityList {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        overflow-y: auto;
        .modules {
          padding: 19px;
          padding-bottom: 0;
          float: left;
          margin-bottom: 20px;
          .title {
            display: inline-block;
            margin-bottom: 19px;
            color: #333;
            font-size: 16px;
            font-weight: 600;
          }
          .module {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            .moduleItem {
              background: #fafafa;
              border-radius: 8px;
              position: relative;
              padding: 5px 10px;
              width: 70px;
              height: 70px;

              .iconItem {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                .iconfont {
                  font-size: 28px;
                }
                .name {
                  color: var(--font-dark-gray);
                  font-size: 12px;
                  line-height: 18px;
                  margin-top: 5px;
                  text-align: center;
                }
              }

              .iconCheckbox {
                display: inline-block;
                width: 14px;
                position: absolute;
                top: 0;
                right: 0;
              }
            }
          }
        }
      }
    }
    .right {
      width: 35%;
      display: flex;
      flex-direction: column;
      .chooseedList {
        overflow: hidden;
        overflow-y: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
        .title {
          width: 100%;
          display: inline-block;
          color: #86909c;
          font-size: 12px;
          line-height: 12px;
          padding: 6px 20px;
          border-bottom: 1px solid #ebeef5;
        }
        .modules {
          width: 100%;
          padding-bottom: 0;
          float: left;
          .moduleItem {
            height: 45px;
            padding: 14px 20px;
            border-bottom: 1px solid #ebeef5;
            cursor: move;
            .iconItem {
              display: flex;
              justify-content: space-between;
              align-items: center;
              .iconDrag {
                display: flex;
                flex-direction: row;
                align-items: center;
                .icon-caidan {
                  font-size: 18px;
                  margin-right: 18px;
                }
              }
              .icon-shanchu {
                cursor: pointer !important;
              }
            }
          }
        }
        .modules:last-child {
          .moduleItem:last-child {
            border-bottom: 0;
          }
        }
      }
    }
  }
}
